#ifndef COMMON_DRIVER_H_H
#define COMMON_DRIVER_H_H

extern "C"
{
#include <ntddk.h>
};

#define ADD_HIDE_PROCESS 0x801
#define DEL_HIDE_PROCESS 0x802

//void* _cdecl operator new(size_t allocSize);

void* _cdecl operator new(size_t allocSize, POOL_TYPE poolType = PagedPool);

void _cdecl operator delete(void* pointer);

NTSTATUS CreateDeviece(
					   IN PDRIVER_OBJECT driverObject, 
					   IN PUNICODE_STRING deviceName, 
					   OUT PDEVICE_OBJECT& deviceObject,
					   IN PUNICODE_STRING symbolName = NULL, 
					   IN size_t deviceExtensionSize = 0);


#endif